﻿<%@ Page Language="C#" MasterPageFile="~/web.master" AutoEventWireup="true" CodeBehind="holiday_add.aspx.cs" Inherits="Shuba.Web.master.holiday_add" %>
<%@ Register Assembly="Shuba.Framework" Namespace="Shuba.Framework" TagPrefix="cc" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
			<table class="text" border="0" width="100%" cellspacing="0" cellpadding="2">
				<tr>
					<td class="text bg_content" bgcolor="#FFFFFF" align="center"><p>&nbsp;</p>
			<table class="black" border="0" width="95%" cellspacing="0" cellpadding="0">
				<tr>
					<td class="title_back" align="left">
					    <table class="text" border="0" width="100%" cellspacing="0" cellpadding="0">
					    <tr>
					    <td class="title_back2" width="2%">&nbsp;</td>
					    <td class="title_back2 title_white" width="30%"><asp:Label ID="LabelTitle" runat="server" Text="Label"></asp:Label></td>
					    <td><span class="title_right"></span></td>
					    </tr>
					    </table>
                    </td>
					<td class="title_back" align="right">
					<a class="text" href="holiday_list.aspx">Holiday List</a>&nbsp;&nbsp;
					<a class="text" href="holiday_upload.aspx">Upload Holiday</a>&nbsp;&nbsp;
					</td>				                            
				</tr>
				<tr>
					<td colspan="2" class="border_nobottom bg_subtitle_white">&nbsp; Insert / Update
                            </td>
				</tr>
				<tr>
				<td class="border_nobottom" colspan="2">
				<table class="text" border="0" width="100%" cellspacing="0" cellpadding="2">
					<tr>
						<td class="bg_grid" align="right">Holiday Date</td>
						<td class="bg_grid2" align="left">
						    <asp:HiddenField ID="hiHolidayDate" runat="server" />
						    <cc:DatePicker ID="txtHolidayDate" imgDirectory="../images/" ControlCssClass="text" CssClass="text" runat="server"></cc:DatePicker>
					    </td>
					</tr>
					<tr>
						<td class="bg_grid" align="right">Holiday Name</td>
						<td class="bg_grid2" align="left">
                            <asp:TextBox ID="txtHoliday" runat="server" width="300px" MaxLength="50" CssClass="text"></asp:TextBox>
						    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="txtHoliday" ErrorMessage="Holiday Name is required"></asp:RequiredFieldValidator>
						</td>
					</tr>
					</table>
				    <!-- Error Message -->
				    <table runat=server visible=false id="ErrBox" class="border" border="0" width="100%" cellspacing="0" cellpadding="2">
				    <tr>
				    <td class="bg_grid2" align=center><asp:Label ID="ErrMsg" runat="server" Text="" Font-Bold=true ForeColor="Red"></asp:Label></td>
				    </tr>
				    </table>
				    <!-- End Of Error Message -->
					
				</td></tr>
				<tr>
				<td class="border bg_footer" colspan="2" align=right>
                    <asp:Button ID="btnSubmit" runat="server" Text="Submit" CssClass="buttonsmall" onclick="btnSubmit_Click" />
                    <asp:Button ID="btnCancel" runat="server" Text="Cancel" CssClass="buttonsmall" CausesValidation="False" onclick="btnCancel_Click" />
						&nbsp; &nbsp; </td></tr>
			</table>
					<p></td>
				</tr>
</table>
</asp:Content>
